#define _CRT_SECURE_NO_WARNINGS
#include"Queue.h"

int main()
{
	Queue Que;
	QueueInit(&Que);
	QueuePush(&Que, 1);
	QueuePush(&Que, 2);
	QueuePush(&Que, 3);
	QueuePush(&Que, 4);
	QueuePush(&Que, 5);
	QueuePush(&Que, 6);

	while (QueueSize(&Que))
	{
		printf("%d ", QueueFront(&Que));
		QueuePop(&Que);
	}

	QueueDestroy(&Que);
	return 0;
}
